import "@/styles/index.scss";
import "@/plugins/unocss";
import "@/context";
import App from "./App.vue";
import { createApp } from "vue";
import { setupRouter } from "@/router";
import { setupElemetPlus } from "@/plugins/elementPlus";
import { setupStore } from "@/plugins/store";

const initApp = async () => {
    const app = createApp(App);

    setupStore(app);
    await setupRouter(app).isReady();
    setupElemetPlus(app);
    app.mount("#app");
};

initApp();
